<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>个人中心</title>
		<meta name="viewport"
			  content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-touch-fullscreen" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta name="format-detection" content="address=no">
		<link rel="stylesheet" type="text/css" href="/hodelcss/common.css">
		<link rel="stylesheet" type="text/css" href="/hodelcss/index.css">
		<link rel="stylesheet" type="text/css" href="/hodelcss/mui.min.css"/>
		<link rel="stylesheet" href="/hodelcss/reset.css">
		<script type="text/javascript" src="/hodeljs/jquery.min.js"></script>
		<script type="text/javascript" src="/hodeljs/iscroll.js"></script>
		<script type="text/javascript" src="/hodeljs/jquery.flexslider-min.js"></script>
		<script src="/hodeljs/hmt.js" type="text/javascript"></script>
		<script type="text/javascript" src="/hodeljs/index.js"></script>
		<script src="/hodeljs/swiper.min.js" type="text/javascript"></script>

		<!--项目自用js-->
		<script src="/js/jquery/jquery.min.js"></script>
		<script src="/js/bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
		<link rel="stylesheet" href="/css/font/css/font-awesome.min.css"/>
		<link rel="stylesheet" href="/css/reset.css"/>
		<link rel="stylesheet" href="/css/myStrategyComment.css"/>
		<script src="/js/plugins/jrender/jrender.min.js"></script>
		<link rel="stylesheet" href="/js/plugins/dialog2/dialog.css"/>
		<script src="/js/plugins/dialog2/dialog.min.js"></script>
		<script src="/js/plugins/form/jquery.form.js"></script>
		<script src="/js/common.js"></script>
		<script>
			$(function () {
				//获取当前登录用户信息
				$.get("/hotelProducts//user/1",function (data) {
                    $("#user").renderValues(data);
                })
				//查询当前用户的积分
                $.get("/hotelProducts",{prodecutState:2,pageSize:6,userId:1},function (data) {
                    console.log(data.list[0]);
                    $(".clearfloat").renderValues({list:data.list[0]});
                })

            })
		</script>

	</head>
	<body>
		<!--header star-->
		<header class="hasManyCity hasManyCitytwo" id="header">
			<a href="javascript:history.go(-1)" class="fl fanhui"><i class="iconfont icon-fanhui"></i></a>
			<div class="header-tit">
				会员中心
			</div>
			<a href="/mine/profiles.html" class="fr shoucang sousuo"><i class="iconfont icon-shezhi"></i></a>
		</header>
	    <!--header end-->
	    <div id="container">		
			<div id="main">
			    <div class="warp clearfloat">
			    	<div class="h-top clearfloat box-s" id="user">
			    		<div class="tu clearfloat fl">
			    			<img render-src="coverImgUrl"/>
			    		</div>
			    		<div class="content clearfloat fl">
			    			<p class="hname" render-html="nickName">王小二</p>
			    			<p class="htel" render-html="email">13035059866</p>
			    		</div>
			    		<div class="h-bottom clearfloat">
			    			<samp></samp>
			    			<ul>
			    				<li>
			    					<a href="#">
				    					<p render-html="list.intergral">1000</p>
				    					<span>积分</span>
			    					</a>
			    				</li>
								<li>
									<a href="#">
										<p>二星用户</p>
										<span>等级</span>
									</a>
								</li>

								<li>
									<a href="#" id="juan">
										<p>0</p>
										<span>抵用券</span>
									</a>
								</li>

			    			</ul>
			    		</div>
			    	</div>
			    	<div class="cash clearfloat">
			    		<div class="cash-tit clearfloat box-s">
			    			我的订单
			    		</div>
			    		<div class="shang clearfloat">
			    			<ul>

			    				<li>
			    					<a href="/buyOrders.html">
			    						<img src="img/group4.png"/>
			    						<span>酒店订单</span>
			    					</a>
			    				</li>
			    				<li>
			    					<a href="/hotelorder.html">
			    						<img src="img/group5.png"/>
			    						<span>积分兑换订单</span>
			    					</a>
			    				</li>
			    			</ul>
			    		</div>
			    	</div>
			    	
			    	<div class="cash clearfloat">
			    		<div class="cash-tit clearfloat box-s">
			    			收藏购物车
			    		</div>
			    		<div class="shang xia clearfloat">
			    			<ul>

			    				<li>
			    					<a href="cutOrders.html">
			    						<p><i class="iconfont icon-shangjia"></i></p>
			    						<span>购物车</span>
			    					</a>
			    				</li>
			    			</ul>
			    		</div>
			    	</div>

			    	
			    	<div class="cashlist clearfloat">
			    		<ul>
			    			<li class="box-s">
			    				<a href="/collect.html">
			    					<p class="fl">积分兑换</p>
			    					<i class="iconfont icon-jiantou1 fr"></i>
			    				</a>
			    			</li>


			    			<li class="box-s">
			    				<a href="http://www.wolfcode.cn/">
			    					<p class="fl">关于叩丁狼</p>
			    					<i class="iconfont icon-jiantou1 fr"></i>
			    				</a>
			    			</li>
			    		</ul>
			    	</div>			    	
			    	<a href="/index.html" class="center-btn db ra3">退出登录</a>
			    </div>
			</div>
		</div>
	    
		<!--footer star-->
	    <footer id="footer">
			<div>
				<a href="/hotelindex.html">
					<div class="icon i-1 on"></div>
					<p>首页</p>
				</a>
			</div>
			<div>
				<a href="/index.html">
					<div class="icon i-5 " ></div>
					<p>app</p>
				</a>
			</div>
			<div>
				<a href="http://www.wolfcode.cn/.html">
					<div class="icon i-2"></div>
					<p>叩丁狼</p>
				</a>
			</div>
			<div>
				<a href="/ticket.html">
					<div class="icon i-5"></div>
					<p>旅游</p>
				</a>
			</div>
			<div>
				<a href="center.html">
					<div class="icon i-4"></div>
					<p>我的</p>
				</a>
			</div>
		</footer>
		<!--footer end-->
	</body>
	<script type="text/javascript" src="js/jquery-1.8.3.min.js" ></script>
	<script src="js/mui.min.js"></script>
	<script src="js/others.js"></script>
	<script type="text/javascript" src="js/hmt.js" ></script>
	<script src="slick/slick.js" type="text/javascript" ></script>
	<!--插件-->
	<link rel="stylesheet" href="css/swiper.min.css">
	<script src="js/swiper.jquery.min.js"></script>
</html>
